﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SYH.System.Model
{
    /// <summary>
    /// SystemRole:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class SystemRole
    {
        public SystemRole()
        { }
        #region Model
        private int _id;
        private string _rolename = "";
        private string _actioncollection = "";
        private int _status = 0;
        /// <summary>
        /// 
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 角色名
        /// </summary>
        public string RoleName
        {
            set { _rolename = value; }
            get { return _rolename; }
        }
        /// <summary>
        /// 角色可操作的控制器
        /// </summary>
        public string ActionCollection
        {
            set { _actioncollection = value; }
            get { return _actioncollection; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status
        {
            set { _status = value; }
            get { return _status; }
        }
        #endregion Model

        public List<string> ActionList { get; set; }

    }
}
